package cn.dancepeak.system.mapper;


import cn.dancepeak.system.domain.Menu;
import cn.dancepeak.system.query.MenuQuery;

import java.util.List;

public interface MenuMapper {
    void insert(Menu menu);

    void updateById(Menu menu);

    void deleteById(Long id);

    void deleteByList(List<Long> ids);

    Menu selectById(Long id);

    List<Menu> list(MenuQuery menuQuery);

    List<Menu> listAll();
}
